<?php if(!defined('IN_FANWE')) exit('Access Denied'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /><?php echo formatPageSeo(); ?><link rel="icon" href="<?php echo $_FANWE['site_root'];?>favicon.ico" type="image/x-icon" />
<script src="./public/js/jquery.js" type="text/javascript"></script>
<?php 
$default_js[] = './public/js/jquery.cookie.js';
                $default_js[] = './public/js/jquery.easing.js';
$default_js[] = './public/js/jquery.lazyload.js';
                $default_js[] = './public/js/base.js';
 ?>
<script src="<?php echo scriptParse($default_js); ?>" type="text/javascript"></script>
<?php 
$current_css[] = './tpl/css/reset.css';
$current_css[] = './tpl/css/base.css';
$current_css[] = './tpl/css/globe.css';
$current_css[] = './tpl/css/publishbox.css';
$current_css[] = './tpl/css/lightbox.css';
$current_css[] = './tpl/css/addfav.css';
$current_css[] = './public/js/jqueryui/jquery.ui.css';
 ?>
<link rel="stylesheet" type="text/css" href="<?php echo cssParse($current_css); ?>" media="all"/><?php if(is_array($css_list)) { foreach($css_list as $css) { ?><link rel="stylesheet" type="text/css" href="<?php echo cssParse($css['url']); ?>"<?php if(!empty($css['media'])) { ?> media="<?php echo $css['media'];?>"<?php } ?> />
<?php } } ?>
<script type="text/javascript">
var SITE_PATH = '<?php echo $_FANWE['site_root'];?>';
var SITE_URL = '<?php echo $_FANWE['site_url'];?>';
var TPL_PATH = '<?php echo TPL_PATH;?>';
var PUBLIC_PATH	 = '<?php echo PUBLIC_PATH;?>';
var MODULE_NAME	 = '<?php echo MODULE_NAME;?>';
var ACTION_NAME	 = '<?php echo ACTION_NAME;?>';
var COOKIE_PRE = "<?php echo $_FANWE['config']['cookie']['cookie_pre'];?>";<!--dynamic dynamicScript--></script>
<?php if(isset($_FANWE['cache']['business']['taobao'])) { ?>
<script src="http://a.tbcdn.cn/apps/top/x/sdk.js?appkey=<?php echo $_FANWE['cache']['business']['taobao']['app_key'];?>" type="text/javascript"></script>
<?php } ?>
<script type="text/javascript">
        jQuery(function(){
        $(window).scroll(function(){
            if($(window).scrollTop() > 39){
               $("#nav_bar").css({"position":"fixed"});
               $("#nav_bar").css({"width":"100%"});
               $("#nav_bar").css({"z-index":"9999"});
               $("#nav_bar").css({"top":"0"});
            }else{
                $("#nav_bar").css({"position":"relative"});
            }
            
        });
        });
        </script>
</head>
<body>
<div id="head">
<div id="info_bar">
<div class="fm960">
<div class="fl">
<a href="<?php echo FU('index',array()); ?>"><img class="logo fl" src="<?php echo $_FANWE['site_root'];?><?php echo $_FANWE['setting']['site_logo'];?>" /></a>
</div><!--dynamic getUserInfo--></div>
</div>
<div id="nav_bar">
<div class="fm960">
<ul class="fl">
<li class="f"><a href="<?php echo FU('index',array()); ?>"<?php if(MODULE_NAME == 'Index') { ?> class="c"<?php } ?>>首页</a></li>
<?php 
$g_r_cate = $_FANWE['cache']['goods_category']['root'];
$g_r_cate = &$_FANWE['cache']['goods_category']['all'][$g_r_cate];
 ?>
<li><a href="<?php echo FU('book/shopping',array()); ?>"<?php if(MODULE_NAME == 'Book') { ?> class="c"<?php } ?>><?php echo $g_r_cate['cate_name'];?></a></li>
<li><a href="<?php echo FU('album',array()); ?>"<?php if(MODULE_NAME == 'Album') { ?> class="c"<?php } ?>>杂志社</a></li>
<li><a href="<?php echo FU('look/index',array()); ?>"<?php if(MODULE_NAME == 'Look') { ?> class="c"<?php } ?>>晒货</a></li>
<li><a href="<?php echo FU('dapei/index',array()); ?>"<?php if(MODULE_NAME == 'Dapei') { ?> class="c"<?php } ?>>搭配</a></li>
<li><a href="<?php echo FU('group/index',array()); ?>"<?php if(MODULE_NAME == 'Group' || MODULE_NAME == 'Topic') { ?> class="c"<?php } ?>>小组</a></li>
<li><a href="<?php echo FU('daren/index',array()); ?>"<?php if(MODULE_NAME == 'Daren') { ?> class="c"<?php } ?>>达人</a></li>
<li><a href="<?php echo FU('shop',array()); ?>"<?php if(MODULE_NAME == 'Shop') { ?> class="c"<?php } ?>>好店</a></li>
<li><a href="<?php echo FU('exchange',array()); ?>"<?php if(MODULE_NAME == 'Exchange') { ?> class="c"<?php } ?>>试用</a></li>
                                        <li><a href="<?php echo FU('mailrss/index',array()); ?>"<?php if(MODULE_NAME == 'MailRss') { ?> class="c"<?php } ?>>订阅</a></li>
</ul>
                            <div class="fast_share"><a href="javascript:;" onclick="$.Fast_Share();">分享</a></div>
                           
<div class="fr top_search r5">
                                    
<form action="<?php echo FU('search',array()); ?>" method="get">
<input type="text" name="keyword" class="ts_txt" value="" tooltip="请输入关键字"/>
<input type="submit" value=" " class="ts_btn" />
</form>
</div>

</div>
</div>
</div>
<div style="margin:0 auto;width:960px"><!--dynamic advLayoutName args=头部广告位,,--></div>
<div id="body_wrap">